package com.jspxcms.plug.service;

import com.jspxcms.plug.domain.Resume;
import com.jspxcms.plug.domain.UserFavorite;
import org.springframework.data.domain.Page;

/**
 * Created by yuanyue on 14-9-21.
 */
public interface UserFavoriteService {
    public UserFavorite save(UserFavorite favorite);

    public boolean exists(Integer userId, Integer id);

    public boolean delete(Integer userId,Integer id);

    public Page<UserFavorite> findByUserId(Integer userId, Integer type,Integer pageIndex, Integer pageSize);
}
